package api

import (
	"github.com/LyricTian/gin-admin/v7/internal/app/ginx"
	"github.com/gin-gonic/gin"
)

// Get 查询指定数据
func (a *UserInfo) SetAccountNum(c *gin.Context) {
	ctx := c.Request.Context()
	err := a.UserInfoBll.SetAccountNum(ctx, c.Query("account_num"))
	if err != nil {
		ginx.ResError(c, err)
		return
	}
	ginx.ResOK(c)
}

